﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;

namespace HenuAlbum.ControllerModels
{
    /// <summary>
    /// TagId 或者 Tag 二选一
    /// </summary>
    public class AddTagParam
    {
        public string Tag { get; set; }

        public string Description { get; set; }

        public int? TagId { get; set; }

        [Required]
        public Guid Resource { get; set; }
    }
}
